﻿using AIStudio.Wpf.Controls;
using MonitorPrism_Practice.Views;
using Prism.Ioc;
using Prism.Navigation.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MonitorPrism_Practice
{
    public class HomeModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {

            //regionManager.RequestNavigate(RegionName.MainContentRegion, typeof(OperatorMonitoringView).FullName);
        }
        public IContainerRegistry _containerRegistry;
        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            _containerRegistry = containerRegistry;
            _containerRegistry.RegisterForNavigation(typeof(InterfacePlotView), typeof(InterfacePlotView).FullName);
            _containerRegistry.RegisterForNavigation(typeof(InterfacePropertiesView), typeof(InterfacePropertiesView).FullName);
            _containerRegistry.RegisterForNavigation(typeof(InterfaceLoggerView), typeof(InterfaceLoggerView).FullName);
            _containerRegistry.RegisterForNavigation(typeof(InterfacePropertiesView), typeof(InterfacePropertiesView).FullName);
          //  _containerRegistry.RegisterForNavigation(typeof(InterfacePIDView), typeof(InterfacePIDView).FullName);

        }
    }
}
